package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class UserLoginWx implements Serializable {
    private Integer id;

    private Integer userId;

    private Integer clientType;

    private String companyKey;

    private String openId;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public UserLoginWx(Integer id, Integer userId, Integer clientType, String companyKey, String openId, Date createTime, Date updateTime) {
        this.id = id;
        this.userId = userId;
        this.clientType = clientType;
        this.companyKey = companyKey;
        this.openId = openId;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public UserLoginWx() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getClientType() {
        return clientType;
    }

    public void setClientType(Integer clientType) {
        this.clientType = clientType;
    }

    public String getCompanyKey() {
        return companyKey;
    }

    public void setCompanyKey(String companyKey) {
        this.companyKey = companyKey == null ? null : companyKey.trim();
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}